package xyz.bali16.module.activeuser.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
@ApiModel("添加活跃用户信息参数")
public class ActiveUserAddParam {
    @ApiModelProperty(name = "id", value = "用户id", required = true)
    @NotEmpty(message = "userId不能为空")
    private String userId;
    @ApiModelProperty(name = "postNum", value = "发帖数量", required = false)
    Long postNum;

    @ApiModelProperty(name = "replyNum", value = "回复数量", required = false)
    Long replyNum;
    @ApiModelProperty(name = "collectNum", value = "收藏数量", required = false)
    Long collectNum;
    @ApiModelProperty(name = "likeNum", value = "点赞数量", required = false)
    Long likeNum;

}
